Fix current-bidi-paragraph-direction wrt window pointer.
authorEli Zaretskii <eliz@gnu.org>
Sun, 9 Jun 2013 16:49:07 +0000 (19:49 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 9 Jun 2013 16:49:07 +0000 (19:49 +0300)
commit482984563e5a3c959a1c44ed45da86ad580ffce5
tree60303a7a4910f9edd8d359e8274f10b4791870d7
parent9ae44a136599ab2ee66b7ad6cde916b3b2edc942
Fix current-bidi-paragraph-direction wrt window pointer.

 src/xdisp.c (compute_display_string_pos): When W is NULL, use the current
 buffer as the object to pass to get-char-property.
 (Fcurrent_bidi_paragraph_direction): Assign NULL to the window
 pointer member of the bidi iterator, since no window is pertinent
 to this function.
src/ChangeLog
src/xdisp.c